package com.wtwd.device.model.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Created by Roc on 2021/7/30.
 * <p>
 * 心率信息
 */
@ApiModel(value="HeartRateInfo对象", description="")
public class HeartRateInfo {


    /**
     * 心率测量时间，单位秒
     */
    @ApiModelProperty(value = "心率测量时间，单位秒",required = false)
    private int time;
    /**
     * 心率值
     */
    @ApiModelProperty(value = "心率值",required = false)
    private int heartRate;

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public int getHeartRate() {
        return heartRate;
    }

    public void setHeartRate(int heartRate) {
        this.heartRate = heartRate;
    }

    @Override
    public String toString() {
        return "HeartRateInfo{" +
                "time=" + time +
                ", heartRate=" + heartRate +
                '}';
    }
}
